package com.pbc.gmp.dao;

import com.pbc.gmp.model.RoleC;
import com.pbc.gmp.model.basemodel.Role;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author kjk
 * @since 2017-04-17
 */
@Component("roleDao")
public interface RoleMapper extends BaseMapper<Role> {

    public List<Long> selectRoleIdListByUserId(java.lang.Long id);
    public Set<String> selectRolesListByUserId(java.lang.Long id);
    public Set<Role> selectRoleListByUserId(java.lang.Long id);
    public List<RoleC> selectRoleClist();

}